home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / cvs-1.8 / cvs-1 / cvs-1.8.1 / os2 / README < prev    next >
Encoding:
Text File  |  1996-05-06  |  1.7 KB  |  38 lines

  1.         This port requires IBM C/C++ and the IBM TCPIP library.
  2. You'll need to edit the makefile to reflect your system's paths
  3. (unless you're our customer for this port, in which case the paths
  4. are correct because we did the port on your machine. :-) ).
  5.  
  6.         I'm having some weird problem with "\" vs. "/".  If I build
  7. with "\" as the path separator in the makefile, the compiler dumps
  8. core.  Go figure.  If I build with "/" as the path separator, the
  9. object files compile fine but the linker thinks the "/" is indicating
  10. options and gets all confused (though at least it doesn't dump core).
  11.  
  12.         Right now the solution is to have a makefile variable called
  13. SL, which must be set to "/" for the first invocation of make and "\"
  14. for the second (the first pass will successfully build the object
  15. files, but you can expect it do die with "unknown options" errors at
  16. link time).
  17.  
  18.         $SL is defined near the top of the makefile.  If you're going
  19. to set $SL in the makefile itself, make sure to quote it ("\\").  On
  20. the command line (i.e., "make SL=\"), I believe just one will do.
  21.  
  22.         That should be all -- edit the makefile, do "make" twice
  23. (changing $SL the second time), and get os2\cvs.exe.  Assuming you
  24. have edited the `install_dir' variable in the Makefile, you may type
  25. "make install-cvs" to put cvs.exe in the right place.
  26.  
  27.         If the makefile has linefeeds only at the end of lines, make
  28. (at least the port of GNU make that I have) will interpret it
  29. differently.  This is (IMHO) a bizarre behavior, but you need to
  30. convert the linefeeds to CRLF pairs (editing the file with an editor
  31. such as emacs will generally do this).
  32.  
  33.         You will get warnings during the compilation; ignore them.
  34. Report bugs to <bug-cvs@prep.ai.mit.edu>.
  35.  
  36. -Karl
  37.  <kfogel@cyclic.com>
  38.